bin_PROGRAMS = indicator-monitor

indicator_monitor_SOURCES = \
	main.cpp \
	process_struct.h \
	system_monitor.h \
	system_monitor.cpp \
	preferences_dialog.h \
	preferences_dialog.cpp \
	appmenu_updater.h \
	appmenu_updater.cpp \
	configuration.h \
	configuration.cpp \
	notification_sender.h \
	notification_sender.cpp

indicator_monitor_CPPFLAGS = -I$(srcdir),. -Wall -O2 \
							 -std=gnu++0x \
							 -DPACKAGE_UI_DIR=\""$(pkgdatadir)/ui"\" \
							 -DPROGRAMNAME_LOCALEDIR=\"${PROGRAMNAME_LOCALEDIR}\" \
							 $(GTKMM_CFLAGS) \
							 $(APPINDICATOR_CFLAGS) \
							 $(SIGCPP_CFLAGS) \
							 $(LIBNOTIFY_CFLAGS) \
							 $(LIBGTOP_CFLAGS)

indicator_monitor_LDADD = $(GTKMM_LIBS) \
						  $(APPINDICATOR_LIBS) \
						  $(SIGCPP_LIBS) \
						  $(LIBNOTIFY_LIBS) \
						  $(LIBGTOP_LIBS)


.PHONY: run
run: 
	./indicator-monitor
